package com.example.demo.model.form;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Schema(description = "用户密码重置表单")
public class UserPasswordForm implements Serializable {
    @NotEmpty(message = "用户Id不能为空")
    @Schema(description = "用户Id")
    private String userId;
    @NotEmpty(message = "密码不能为空")
    @Schema(description = "密码")
    private String password;
}
